﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using PathologyDAL.Modle;

namespace PathologyDAL.DB
{
    public class ApplicationDbcontext : DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlite("Data Source=tumourdata.db");
        }
       

        public DbSet<Tumour> Tumours { get; set; }

        public DbSet<FilterCondition> Conditions { get; set; }

        public DbSet<TumourCondition> TumourConditions { get; set; }
      
        public DbSet<Image> Images { get; set; }
        public DbSet<TumourImage> TumourImages { get; set; }

       

    }
}
